package com.ruoyi.terminal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 参数管理对象 dc_termpara
 * 
 * @author ruoyi
 * @date 2020-12-28
 */
public class DcTermpara extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端sim卡的imei号 */
    @Excel(name = "终端imei号")
    private String termImei;

    /** 终端类别 */
    @Excel(name = "终端类别")
    private String termKind;

    /** 绑定对象，被监管人编码 */
    @Excel(name = "绑定对象，被监管人编码")
    private String perBound;

    /** 终端中保存的历史位置记录表的最大长度 */
    @Excel(name = "终端中保存的历史位置记录表的最大长度")
    private Integer hstRecMaxLen;

    /** 通讯服务器软件编码 */
    @Excel(name = "通讯服务器软件编码")
    private String commServerId;

    /** 通讯服务器ip地址 */
    @Excel(name = "通讯服务器ip地址")
    private String commServerIp;

    /** 通讯服务器端口地址 */
    @Excel(name = "通讯服务器端口地址")
    private Integer commServerPort;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtModified;

    public void setTermImei(String termImei)
    {
        this.termImei = termImei;
    }

    public String getTermImei()
    {
        return termImei;
    }
    public void setTermKind(String termKind) 
    {
        this.termKind = termKind;
    }

    public String getTermKind() 
    {
        return termKind;
    }
    public void setPerBound(String perBound) 
    {
        this.perBound = perBound;
    }

    public String getPerBound() 
    {
        return perBound;
    }
    public void setHstRecMaxLen(Integer hstRecMaxLen) 
    {
        this.hstRecMaxLen = hstRecMaxLen;
    }

    public Integer getHstRecMaxLen() 
    {
        return hstRecMaxLen;
    }
    public void setCommServerId(String commServerId) 
    {
        this.commServerId = commServerId;
    }

    public String getCommServerId() 
    {
        return commServerId;
    }
    public void setCommServerIp(String commServerIp) 
    {
        this.commServerIp = commServerIp;
    }

    public String getCommServerIp() 
    {
        return commServerIp;
    }
    public void setCommServerPort(Integer commServerPort) 
    {
        this.commServerPort = commServerPort;
    }

    public Integer getCommServerPort() 
    {
        return commServerPort;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("termImei", getTermImei())
            .append("termKind", getTermKind())
            .append("perBound", getPerBound())
            .append("hstRecMaxLen", getHstRecMaxLen())
            .append("commServerId", getCommServerId())
            .append("commServerIp", getCommServerIp())
            .append("commServerPort", getCommServerPort())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
